package com.aaa.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

/**
 * 部门表(Dept)表实体类
 *
 * @author makejava
 * @since 2022-12-07 10:11:16
 */
@SuppressWarnings("serial")
@Data
public class Dept extends Model<Dept> {
    //ID
    private Long id;
    //部门名称
    private String name;

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}

